package com.efast.dmom.mes.service;

import java.util.List;

import com.efast.dmom.mes.bean.Part;
import com.efast.dmom.mes.bean.PartTree;
import com.efast.dmom.mes.bean.ResultBean;

public interface PartService{
	public ResultBean save(Part part);
	public ResultBean update(Part part);
	public ResultBean delete(Part part);
	public Part getByPartNoAndRevision(String partNo,String partRevision);
	public Part getById(long partId);
	public List<Part> getAllPart();
	public PartTree getPartByPartNoAndRevision(Part part);
	public ResultBean validatePartDelete(Part part);
	public ResultBean batchDelete(List<Part> list);
}
